package com.accounting.model;

import java.time.LocalDate;
import java.util.List;

public class AssetIncome {
    private int id;
    private int assetId;
    private LocalDate date;
    private String type;
    private double amount;
    private String remark;
    private List<AssetIncomeDetail> details;
    
    // Getters and Setters
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    
    public int getAssetId() { return assetId; }
    public void setAssetId(int assetId) { this.assetId = assetId; }
    
    public LocalDate getDate() { return date; }
    public void setDate(LocalDate date) { this.date = date; }
    
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    
    public double getAmount() { return amount; }
    public void setAmount(double amount) { this.amount = amount; }
    
    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }
    
    public List<AssetIncomeDetail> getDetails() { return details; }
    public void setDetails(List<AssetIncomeDetail> details) { this.details = details; }
} 